<?php
/**
 * Theme Footer Section for our theme.
 *
 * Displays all of the footer section and closing of the #main div.
 *
 * @package ThemeGrill
 * @subpackage ColorMag
 * @since ColorMag 1.0
 */
?>

		</div><!-- .inner-wrap -->
	</div><!-- #main -->
   <?php if ( is_active_sidebar('colormag_advertisement_above_the_footer_sidebar') ) { ?>
      <div class="advertisement_above_footer">
         <div class="inner-wrap">
            <?php dynamic_sidebar('colormag_advertisement_above_the_footer_sidebar'); ?>
         </div>
      </div>
   <?php } ?>
	<?php do_action( 'colormag_before_footer' ); ?>
		<footer id="colophon" class="clearfix">
			<?php get_sidebar( 'footer' ); ?>
			<div class="footer-socket-wrapper clearfix">
				<div class="inner-wrap">
					<div class="footer-socket-area">
	                  <div class="footer-socket-right-section">
	   						<?php if( get_theme_mod( 'colormag_social_link_activate', 0 ) == 1 ) { colormag_social_links(); } ?>
	                  </div>
	                  <div class="footer-socket-left-sectoin">
	   						
	                  </div>
					</div>
					<div class="copyright">
						<div class="webscan360"><a href="http://webscan.360.cn/index/checkwebsite/url/quanminbagua.com" style="margin-bottom: 6px; display: block; border: none; "><img border="0" src="http://img.webscan.360.cn/status/pai/hash/456b5c480c07c4153d237d1cf8b0aa1b" style="margin: 0;"></a>
						</div>					
						<?php do_action( 'colormag_footer_copyright' ); ?>
						<p><span>京ICP备12037929号-10</span></p>
					</div>
				</div>
				
			</div>			
		</footer>
		<a href="#masthead" id="scroll-up"><i class="fa fa-chevron-up"></i></a>
		<div style="display:none;">
			<!-- cnzz统计 -->
			<script src="http://s95.cnzz.com/z_stat.php?id=1257160319&web_id=1257160319" language="JavaScript"></script>
			<!-- 百度统计 -->
			<script> var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?3950dff041c56ae5fa079cf8f906c172"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script>
		</div> 
		<script>
			// 百度自动推送
			(function(){
			    var bp = document.createElement('script');
			    bp.src = '//push.zhanzhang.baidu.com/push.js';
			    var s = document.getElementsByTagName("script")[0];
			    s.parentNode.insertBefore(bp, s);
			})();
		</script>
	</div><!-- #page -->
	<?php wp_footer(); ?>
</body>
</html>